package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拌合站信息业务对象 n_asphalt_station
 *
 * @author zyb
 * @date 2023-09-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NAsphaltStationBo extends BaseEntity {

    /**
     * 拌合站主键
     */
    @NotBlank(message = "拌合站主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 机构主键
     */
    @NotBlank(message = "机构主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptPkid;

    /**
     * 机构编码
     */
    @NotBlank(message = "机构编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptId;

    /**
     * 拌合站名称
     */
    @NotBlank(message = "拌合站名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 拌合站编号
     */
    @NotBlank(message = "拌合站编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 创建者
     */
    @NotNull(message = "创建者不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long creator;

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date createDate;

    /**
     * 更新者
     */
    @NotNull(message = "更新者不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long updater;

    /**
     * 更新时间
     */
    @NotNull(message = "更新时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date updateDate;

    /**
     * 是否删除：0=未删除；1=已删除；
     */
    @NotBlank(message = "是否删除：0=未删除；1=已删除；不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deleted;


}
